package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xmy.cultivate.entity.TeacherPoint;
import com.xmy.cultivate.mapper.TeacherPointMapper;
import com.xmy.cultivate.service.TeacherPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherPointServiceImpI extends ServiceImpl<TeacherPointMapper, TeacherPoint> implements TeacherPointService {

    @Autowired
    TeacherPointMapper teacherPointMapper;

    public IPage<TeacherPoint> findAll(IPage<TeacherPoint> page, String yearPart, String quarterNum, String lessonType, String teacherName, String yearClassId, String courseTypeId, String subjectId, String type, String teacherType, String versionId) {
        return teacherPointMapper.findAllTeachingPoint(page, yearPart, quarterNum, lessonType, teacherName, yearClassId, courseTypeId, subjectId, type, teacherType, versionId);
    }

}
